using System;
using System.Collections.Generic;
using System.Text;

namespace TankWars
{
    public class Player
    {
        public Tank Tank;
        private string strName;
        private int nLives = 0;
        private int nKills = 0;

        /// <summary>
        /// Gets the player's name
        /// </summary>
        public string Name
        {
            get
            {
                return this.strName;
            }
            set
            {
                this.strName = value;
            }
        }
        /// <summary>
        /// Gets the number of lives the player has left
        /// </summary>
        public int Lives
        {
            get
            {
                return this.nLives;
            }
            set
            {
                this.nLives = value;
            }
        }
        /// <summary>
        /// Gets the number of kills the player has
        /// </summary>
        public int Kills
        {
            get
            {
                return this.nKills;
            }
            set
            {
                this.nKills = value;
            }
        }

        public void setTank(Tank tank)
        {
            this.Tank = tank;
        }

        public Player(string name)
        {
            this.strName = name;
        }
    }
}
